package org.jeecg.modules.demo.yyc.setting.salelink.service.impl;

import org.jeecg.modules.demo.yyc.setting.salelink.entity.YycSaleLinkGoods;
import org.jeecg.modules.demo.yyc.setting.salelink.mapper.YycSaleLinkGoodsMapper;
import org.jeecg.modules.demo.yyc.setting.salelink.service.IYycSaleLinkGoodsService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 链接商品
 * @Author: jeecg-boot
 * @Date:   2023-10-09
 * @Version: V1.0
 */
@Service
public class YycSaleLinkGoodsServiceImpl extends ServiceImpl<YycSaleLinkGoodsMapper, YycSaleLinkGoods> implements IYycSaleLinkGoodsService {
	
	@Autowired
	private YycSaleLinkGoodsMapper yycSaleLinkGoodsMapper;
	
	@Override
	public List<YycSaleLinkGoods> selectByMainId(String mainId) {
		return yycSaleLinkGoodsMapper.selectByMainId(mainId);
	}
}
